using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.DirectX.DirectDraw;

namespace TowerDefense_Dx.Core
{
    public class DxOffscreenPlainSurface
    {
        private Surface _surface;
        public Surface OffSurface
        {
            get { return _surface; }
            set { _surface = value; }
        }
        public DxOffscreenPlainSurface(DxInitGraphics graphics, int width, int height)
        {
            SurfaceDescription desc = new SurfaceDescription();
            desc.SurfaceCaps.OffScreenPlain = true;
            desc.Width = width;
            desc.Height = height;
            _surface = new Surface(desc, graphics.GraphicsDevice);
        }

    }
}
